﻿using Anke.SHManage.MSSQLDAL;
using Anke.SHManage.Utility;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Anke.SHManage.Model;

namespace Anke.SHManage.BLL
{
   public class AmbulanceStateBLL
    {
       private AmbulanceStateDAL dal = new AmbulanceStateDAL();

        //查询事件信息列表
       public object GetAmbulanceStateList(int pageSize, int pageIndex,string sortName,string sortOrder, string center, string station, string actualNumber, string ambulanceNumber, string driver, string doctor
                                        , string nurse, string stretcher, string workState, E_StatisticsPermisson em, string selfWorkCode, string selfCenterID, string selfStationID, string AmbCode, string eventDispatchCenterID)
        {
            return dal.GetAmbulanceStateList(pageSize, pageIndex,sortName,sortOrder, center, station, actualNumber, ambulanceNumber, driver,
                                                 doctor, nurse, stretcher, workState, em, selfWorkCode, selfCenterID, selfStationID, AmbCode, eventDispatchCenterID);
        }

       //车辆工作状态
       public object GetWorkStateList()
       {
           return dal.GetWorkStateList();
       }
       public AmbulanceStateInfo GetAmbulance(string AmbCode, string eventDispatchCenterID)
       {
           return dal.GetAmbulance(AmbCode, eventDispatchCenterID);
       }
    }
}
